<?php
declare (strict_types = 1);
/**
 * +----------------------------------------------------------------------
 * | 管理员登录日志控制器
 * +----------------------------------------------------------------------
 */
namespace app\controller\sys;

// 引入框架内置类
use think\facade\View;

use app\model\SysLoginNote as SysLoginNoteModel;

class SysLoginNote extends Base
{
    protected $modelName = 'SysLoginNote';

    public function index($limit = 30)
    {
        $list = SysLoginNoteModel::queryPage($limit, 0);

        View::assign('list', $list);

        return View::fetch();
    }
}
